.class public Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field a:F

.field b:F

.field c:F

.field d:Z

.field e:Z

.field f:Z

.field g:Z

.field private h:Lcom/waiqin365/lightapp/visit/b/l;

.field private i:Lcom/waiqin365/lightapp/visit/b/bo;

.field private j:Landroid/content/Context;

.field private k:Ljava/util/List;

.field private l:Ljava/util/ArrayList;

.field private m:Landroid/widget/ListView;

.field private n:Lcom/waiqin365/lightapp/view/CalendarView;

.field private o:Lcom/waiqin365/lightapp/visit/hi;

.field private p:Landroid/widget/ImageView;

.field private q:Landroid/widget/TextView;

.field private r:Landroid/widget/TextView;

.field private s:Z

.field private t:Landroid/view/View;

.field private u:Ljava/lang/String;

.field private v:Ljava/lang/String;

.field private w:Landroid/view/View;

.field private x:Lcom/waiqin365/lightapp/view/NoNetView;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    iput v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    iput v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->b:F

    iput v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c:F

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->d:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->g:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->v:Ljava/lang/String;

    return-object p1
.end method

.method private a()V
    .locals 4

    const/16 v3, 0x8

    const v0, 0x7f0c09aa

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->t:Landroid/view/View;

    const v0, 0x7f0c09ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->w:Landroid/view/View;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->x:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->x:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c09ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CalendarView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    const v0, 0x7f0c0539

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->p:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->q:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->q:Landroid/widget/TextView;

    const v1, 0x7f0804dd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->r:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->r:Landroid/widget/TextView;

    const v1, 0x7f08001b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->r:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->r:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v2, "#e0e0e0"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    const/high16 v2, 0x3f000000    # 0.5f

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setDividerHeight(I)V

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->q:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->t:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;Ljava/lang/String;Lcom/waiqin365/lightapp/visit/b/bn;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a(Ljava/lang/String;Lcom/waiqin365/lightapp/visit/b/bn;)V

    return-void
.end method

.method private a(Ljava/lang/String;Lcom/waiqin365/lightapp/visit/b/bn;)V
    .locals 3

    const v0, 0x7f08056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/a/ax;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-direct {v0, v1, p2, p1, v2}, Lcom/waiqin365/lightapp/visit/a/a/ax;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/visit/b/bn;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/visit/hi;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    return-object v0
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    new-instance v1, Lcom/waiqin365/lightapp/visit/hc;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/hc;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->setOnDateSelectedListener(Lcom/waiqin365/lightapp/view/cr;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightapp/visit/hd;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/hd;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    new-instance v1, Lcom/waiqin365/lightapp/visit/he;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/he;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bo;->a(Lcom/waiqin365/lightapp/visit/b/bs;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    new-instance v1, Lcom/waiqin365/lightapp/visit/hf;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/hf;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bo;->d(Lcom/waiqin365/lightapp/visit/b/bs;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    new-instance v1, Lcom/waiqin365/lightapp/visit/hg;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/hg;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bo;->c(Lcom/waiqin365/lightapp/visit/b/bs;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    new-instance v1, Lcom/waiqin365/lightapp/visit/hh;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/hh;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bo;->a(Lcom/waiqin365/lightapp/visit/b/bt;)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/CalendarView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    return-object v0
.end method

.method private c()V
    .locals 4

    const v0, 0x7f08056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "conditions.date"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->v:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "conditions.userId"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->u:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-boolean v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    if-eqz v2, :cond_0

    new-instance v2, Lcom/waiqin365/lightapp/visit/a/a/ay;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/visit/a/a/ay;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/visit/hi;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    :goto_0
    return-void

    :cond_0
    const-string/jumbo v2, "page.currentPage"

    const-string/jumbo v3, "1"

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "page.recPerPage"

    const-string/jumbo v3, "10000"

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightapp/visit/a/a/az;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/visit/a/a/az;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/visit/hi;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    goto :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    return-object v0
.end method

.method private d()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/VisitNewPlanActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "userId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "date"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->v:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->v:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->k:Ljava/util/List;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->l:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/l;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->h:Lcom/waiqin365/lightapp/visit/b/l;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->q:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->r:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/bo;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    return v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->t:Landroid/view/View;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->w:Landroid/view/View;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->x:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method


# virtual methods
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 11

    const/4 v10, 0x2

    const/4 v9, 0x0

    const/4 v8, 0x0

    const/4 v0, 0x1

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getVisibility()I

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->x:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/NoNetView;->getVisibility()I

    move-result v1

    if-nez v1, :cond_2

    :cond_0
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    :cond_1
    :goto_0
    return v0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->m:Landroid/widget/ListView;

    new-array v2, v10, [I

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->getLocationInWindow([I)V

    new-array v3, v10, [I

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4, v3}, Lcom/waiqin365/lightapp/view/CalendarView;->getLocationInWindow([I)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v4

    if-nez v4, :cond_3

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/view/CalendarView;->getMeasuredHeight()I

    move-result v4

    int-to-float v4, v4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    sub-float/2addr v4, v5

    iget-object v5, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    const/high16 v6, 0x41c80000    # 25.0f

    invoke-static {v5, v6}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    int-to-float v5, v5

    sub-float/2addr v4, v5

    iput v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v4

    iput v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->b:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    iput v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c:F

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->d:Z

    iput-boolean v9, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    iput-boolean v9, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/view/CalendarView;->d()Z

    move-result v4

    iput-boolean v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->g:Z

    :cond_3
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    aget v6, v2, v0

    int-to-float v6, v6

    sub-float/2addr v5, v6

    invoke-static {v1, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;FF)Z

    move-result v4

    if-eqz v4, :cond_e

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v4

    if-ne v4, v10, :cond_e

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->g:Z

    if-eqz v3, :cond_5

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    iget v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->b:F

    sub-float/2addr v1, v2

    cmpg-float v1, v1, v8

    if-gez v1, :cond_1

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    if-nez v1, :cond_4

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v1

    iget v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    sub-float/2addr v2, v3

    iget v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    invoke-virtual {v1, v2, v3}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, v9}, Landroid/view/MotionEvent;->setAction(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    :cond_4
    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v1, v2}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_5
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->g:Z

    if-nez v3, :cond_1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    iget v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->b:F

    sub-float/2addr v3, v4

    cmpl-float v3, v3, v8

    if-lez v3, :cond_b

    invoke-virtual {v1}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v3

    if-eqz v3, :cond_7

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    if-nez v3, :cond_6

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v0

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    :cond_6
    aget v0, v2, v0

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {p1, v8, v0}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_7
    invoke-virtual {v1, v9}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    if-eqz v3, :cond_9

    new-instance v4, Landroid/graphics/Rect;

    invoke-direct {v4}, Landroid/graphics/Rect;-><init>()V

    invoke-virtual {v3, v4}, Landroid/view/View;->getLocalVisibleRect(Landroid/graphics/Rect;)Z

    invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    invoke-virtual {v4}, Landroid/graphics/Rect;->height()I

    move-result v4

    if-le v3, v4, :cond_9

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    if-nez v3, :cond_8

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v0

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    :cond_8
    aget v0, v2, v0

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {p1, v8, v0}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_9
    iput-boolean v9, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->d:Z

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    if-nez v1, :cond_a

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v1

    iget v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    sub-float/2addr v2, v3

    iget v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    invoke-virtual {v1, v2, v3}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, v9}, Landroid/view/MotionEvent;->setAction(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    :cond_a
    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v1, v2}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_b
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->d:Z

    if-nez v3, :cond_c

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    aget v4, v2, v0

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->d:Z

    :cond_c
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    if-nez v3, :cond_d

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v0

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    :cond_d
    aget v0, v2, v0

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {p1, v8, v0}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_e
    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v5

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v6

    aget v7, v3, v0

    int-to-float v7, v7

    sub-float/2addr v6, v7

    invoke-static {v4, v5, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;FF)Z

    move-result v4

    if-eqz v4, :cond_f

    aget v0, v3, v0

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {p1, v8, v0}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_f
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v4

    aget v5, v2, v0

    int-to-float v5, v5

    sub-float/2addr v4, v5

    invoke-static {v1, v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;FF)Z

    move-result v3

    if-eqz v3, :cond_12

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-eqz v3, :cond_10

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-eq v3, v10, :cond_10

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->e:Z

    if-eqz v3, :cond_10

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    iget v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->b:F

    sub-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    const/high16 v5, 0x41a00000    # 20.0f

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    int-to-float v4, v4

    cmpl-float v3, v3, v4

    if-lez v3, :cond_10

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v8, v1}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/MotionEvent;->setAction(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->n:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_10
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-eqz v3, :cond_1

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    if-nez v3, :cond_11

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v0

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->f:Z

    :cond_11
    aget v0, v2, v0

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {p1, v8, v0}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v1, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_12
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->back()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->d()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0c3d -> :sswitch_1
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0c52 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0301ca

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSub"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->s:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "userId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->u:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "date"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->v:Ljava/lang/String;

    :goto_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->k:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->l:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/bo;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->l:Ljava/util/ArrayList;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/b/bo;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->i:Lcom/waiqin365/lightapp/visit/b/bo;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bo;->a(Z)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/l;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->j:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->k:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/b/l;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->h:Lcom/waiqin365/lightapp/visit/b/l;

    new-instance v0, Lcom/waiqin365/lightapp/visit/hi;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/hi;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/visit/hi;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->b()V

    return-void

    :cond_0
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->u:Ljava/lang/String;

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    sget-object v2, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    new-instance v1, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->v:Ljava/lang/String;

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->dismissProgressDialog()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanManagerActivity;->c()V

    return-void
.end method
